{template header}
<!--main-->
<script type="text/javascript">

function systembox(userid){
	$("#sendbox").html("");
	$("#msgbox").html("加载系统消息中......")
	$.ajax({
		type: "GET",
		url:  siteUrl+"index.php?app=message&ac=systembox&userid="+userid,
		success: function(msg){
			$('#msgbox').html(msg);
			var msgbox=document.getElementById('msgbox');
			if(msgbox.scrollHeight>msgbox.offsetHeight) msgbox.scrollTop=msgbox.scrollHeight-msgbox.offsetHeight+20;
			
		}
	});
}
systembox('{$TS_USER[user][userid]}');
</script>
<div id="wrapper">
<form method="POST" action="{SITE_URL}index.php?app=user&ac=do&ts=setbase">
	<div class="single co5">
<ul class="u_tab">
<li ><a  href="javascript:void(0);" onclick="systembox('{$TS_USER[user][userid]}');">通知 <!--{if $systemNum > '0'}-->({$systemNum})<!--{/if}--></a></li>
</ul>
		<div class="set_box">
        	<ul class="form_l" id="msgbox">
        		<li>系统通知：</li>	
        	</ul>
        </div>
	</div>

</form>

</div>
{template footer}